using System;
using System.Data;

namespace DataStubGenerator
{
    public interface IMainView
    {
        event EventHandler RunSql;
        event EventHandler SaveTable;
        event EventHandler LoadTableFromFile;
        event EventHandler GenerateCode;

        DataTable Table { get; set;}
        string SqlText { get;}

        string GetOpenFileName();
        string GetSaveFileName();

        void DisplayError(string msg, string caption);
    }
}
